package Practice05.test5;

public class test {
    public static void main(String[] args) {
        Teacher teacher1 = new JavaTeacher();
        Teacher teacher2 = new MathTeacher();

        DeanOffice.judge(teacher1);
        DeanOffice.judge(teacher2);
    }
}
